#ifndef MYWEB_H
#define MYWEB_H

#include <QObject>
#include <QWebEngineView>
#include <QWebEnginePage>
#include <QDebug>

class MyWeb : public QWebEngineView
{
    Q_OBJECT
   //Q_PROPERTY(bool empty READ onChangedUrl NOTIFY urlChanged)
public:
    explicit MyWeb(QWidget  *parent = nullptr);

signals:

public slots:
    void onChangedUrl(const QString &url);

};

#endif // MYWEB_H
